<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core"
                template="./../template/Minicurso.xhtml"
                xmlns:h="http://java.sun.com/jsf/html">
    

        <ui:define name="title" >
        Menu
    </ui:define>

    <ui:define name="content">
        <h:form >
<!--            rendered-->
            <p:growl id="messages"/>  
            <h3>Menubar</h3> 
            <p:menubar>  
                <p:submenu label="Inicio" icon="ui-icon-home" ajax="false" />  
                <p:submenu label="Usuário" icon="ui-icon-pencil">
                    <p:submenu label="Novo" icon="ui-icon-contact">                    
                        <p:menuitem value="Cadastrar Usuário" url="#" icon="ui-icon-document" /> 
                    </p:submenu>  
                    <p:menuitem value="Visualizar Usuários" url="#" icon="ui-icon-document" /> 
                </p:submenu>  
                <p:submenu label="Upload" icon="ui-icon-arrowrefresh-1-w">                    
                    <p:menuitem value="Enviar Arquivo" url="#" icon="ui-icon-arrowrefresh-1-w" /> 
                </p:submenu>
                <p:menuitem value="Download" url="#" icon="ui-icon-transfer" /> 
                <p:menuitem value="Sair" action="#{Login.sair()}" icon="ui-icon-close" /> 
            </p:menubar>
        </h:form>
    </ui:define>
</ui:composition>
